package com.zmn.plat.model.entity.order;

import java.io.Serializable;
import java.util.Date;

/**
 * @uthor nowind
 * @since 2018/9/21 18:17
 */
public class OrderItem implements Serializable {
    private static final long serialVersionUID = 3597849855886256989L;

    private Integer itemId;
    private Integer orderId;
    private Integer userId;
    private String product;
    private Date createTime;
    private Date updateTime;

    public OrderItem() {}
    public OrderItem(Integer itemId, Integer orderId, Integer userId, String product) {
        this.itemId = itemId;
        this.orderId = orderId;
        this.userId = userId;
        this.product = product;
    }


    public Integer getItemId() {
        return itemId;
    }

    public void setItemId(Integer itemId) {
        this.itemId = itemId;
    }

    public Integer getOrderId() {
        return orderId;
    }

    public void setOrderId(Integer orderId) {
        this.orderId = orderId;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}
